package com.xxx.kjds.service;

import com.xxx.kjds.entity.Goods;
import com.xxx.kjds.entity.OrderGoods;
import com.xxx.kjds.entity.OrderGoodsExample;
import com.xxx.kjds.entity.OrderGoodsKey;

import java.util.List;

public interface OrderGoodsService {
    
    public long countByExample(OrderGoodsExample example);
    
    public int deleteByExample(OrderGoodsExample example);
    
    public int deleteByPrimaryKey(OrderGoodsKey key);
    
    public int insert(OrderGoods record);
    
    public int insertSelective(OrderGoods record);
    
    public List<OrderGoods> selectByExample(OrderGoodsExample example);

    public OrderGoods selectByPrimaryKey(OrderGoodsKey key);
    
    public int updateByExampleSelective(OrderGoods record, OrderGoodsExample example);
    
    public int updateByExample(OrderGoods record, OrderGoodsExample example);

    public int updateByPrimaryKeySelective(OrderGoods record);

    public int updateByPrimaryKey(OrderGoods record);

    public List<OrderGoods> selectByOid(Integer oid);

    public void delete(OrderGoodsKey record);

    public List<Goods> selectGoodByOrderID(Integer id);


    public OrderGoods selectByPrimaryKey(Integer goodsID , Integer orderID);

    public OrderGoods select(OrderGoodsKey key);
}
